package org.jgs1904.apachepoidemo.file;

import java.io.File;
import java.io.IOException;

/**
 * @author: 默苍璃
 * @date: 2024-03-02 10:14
 */
public class File1 {

    public static void main(String[] args) throws IOException {
        File f = new File("..");
        System.out.println(f.getPath());
        System.out.println(f.getAbsolutePath());
        System.out.println(f.getCanonicalPath());

        File f1 = new File("...");
        System.out.println(f1.getPath());
        System.out.println(f1.getAbsolutePath());
        System.out.println(f1.getCanonicalPath());
    }

}
